import request from '@/utils/request'

export function getStationList(data) {
  return request({
    url: `/api/v1/getStationList?permission=stationList&whereCompanyId=${data.companyId}&name=${data.name}&page=${data.page}&pageSize=${data.pageSize}`,
    method: 'get',
    data
  })
}

export function getStationListToolBar(data) {
  return request({
    url: `/api/v1/getStationListToolBar`,
    method: 'get',
    data
  })
}
